# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ShipperEnd(object):

    def __init__(self, fileSize, name, targetConf, timeInterval, uID=None, appName=None, compress=None, createTime=None, fileFormat=None, logsetUID=None, logtopicUID=None, pin=None, region=None, resourceType=None, resourceUIDs=None, serviceCode=None, status=None, targetType=None, updateTime=None):
        """
        :param uID: (Optional) UID
        :param appName: (Optional) 日志类型
        :param compress: (Optional) 压缩格式，为空不压缩
        :param createTime: (Optional) 创建时间
        :param fileFormat: (Optional) 投递格式 json,  origin(原始日志格式), 默认origin
        :param fileSize:  投递文件大小，单位MB，支持200,300,400,500,1000
        :param logsetUID: (Optional) 日志集uuid
        :param logtopicUID: (Optional) 日志主题uuid
        :param name:  转储任务名称
        :param pin: (Optional) pin
        :param region: (Optional) 地域信息
        :param resourceType: (Optional) 日志采集资源类型
        :param resourceUIDs: (Optional) 日志采集列表
        :param serviceCode: (Optional) serviceCode
        :param status: (Optional) 日志转储任务状态，开启，停止
        :param targetConf:  目的地 配置
        :param targetType: (Optional) 转储目的地类型 0: oss, 目前只支持oss
        :param timeInterval:  投递时间间隔单位分钟，5分钟整数倍，支持5,10,15,20,30,60
        :param updateTime: (Optional) 更新时间
        """

        self.uID = uID
        self.appName = appName
        self.compress = compress
        self.createTime = createTime
        self.fileFormat = fileFormat
        self.fileSize = fileSize
        self.logsetUID = logsetUID
        self.logtopicUID = logtopicUID
        self.name = name
        self.pin = pin
        self.region = region
        self.resourceType = resourceType
        self.resourceUIDs = resourceUIDs
        self.serviceCode = serviceCode
        self.status = status
        self.targetConf = targetConf
        self.targetType = targetType
        self.timeInterval = timeInterval
        self.updateTime = updateTime
